<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Camera_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-camera_id" data-rule="required" data-source="newhouse/department/cameras/index" class="form-control selectpage" name="row[camera_id]" type="text" value="{$row.camera_id|htmlentities}" data-field="description" data-primary-key="id">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cop_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cop_id" data-rule="required" data-source="auth/cops/index" data-field="cop_name" class="form-control selectpage" name="row[cop_id]" type="text" value="{$row.cop_id|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Face_token')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-face_token" class="form-control" name="row[face_token]" type="text" value="{$row.face_token|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Customer')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-customer" data-rule="required" class="form-control" name="row[customer]" type="number" value="{$row.customer|htmlentities}">
        </div>
    </div>
   
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Capture_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-capture_img" data-rule="required" class="form-control" size="50" name="row[capture_img]" type="text" value="{$row.capture_img|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-capture_img" class="btn btn-danger plupload" data-input-id="c-capture_img" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-capture_img"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-capture_img" class="btn btn-primary fachoose" data-input-id="c-capture_img" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-capture_img"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-capture_img"></ul>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
